package com.wenwu.common.bean;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

public class RelicsExcavation extends FileUtils implements Serializable {

	private static final long serialVersionUID = -756674118805006737L;

	private Integer excId;

    private String excCode;

    private String projectName;

    private String applyOrgan;

    private String applyPerson;

    private Date applyTime;

    private String approvalName;

    private String approvalOrgan;

    private Date approvalTime;

    private String excNumber;

    private String techPerson;

    private String otherPerson;

    private String excOrgan;

    private String qualification;

    private String excHost;

    private String fundingFrom;

    private String excArea;

    private Date excBegintime;

    private Date excEndtime;

    private String excLogs;

    private String excSource;

    private String unearthedOverview;

    private String number;

    private String unearthedTransfer;

    private String unearthedRegister;

    private String excResult;

    private String problem;

    private String advice;

    private String projectReport;

    private String relateInfo;

    private String accidentDeal;
    
    private String timeSQL;
    

    public String getTimeSQL() {
		return timeSQL;
	}

	public void setTimeSQL(String timeSQL) {
		this.timeSQL = timeSQL;
	}

	public Integer getExcId() {
        return excId;
    }

    public void setExcId(Integer excId) {
        this.excId = excId;
    }

    public String getExcCode() {
        return excCode;
    }

    public void setExcCode(String excCode) {
        this.excCode = excCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getApplyOrgan() {
        return applyOrgan;
    }

    public void setApplyOrgan(String applyOrgan) {
        this.applyOrgan = applyOrgan;
    }

    public String getApplyPerson() {
        return applyPerson;
    }

    public void setApplyPerson(String applyPerson) {
        this.applyPerson = applyPerson;
    }

    public String getApplyTime() {
    	if(applyTime ==null)
			return null;
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(applyTime);
		} catch (Exception e) {
			return null;
		}
        //return applyTime;
    }

    public void setApplyTime(String applyTime) {
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			this.applyTime = sdf.parse(applyTime);
		} catch (Exception e) {
		}
        //this.applyTime = applyTime;
    }

    public String getApprovalName() {
        return approvalName;
    }

    public void setApprovalName(String approvalName) {
        this.approvalName = approvalName;
    }

    public String getApprovalOrgan() {
        return approvalOrgan;
    }

    public void setApprovalOrgan(String approvalOrgan) {
        this.approvalOrgan = approvalOrgan;
    }

    public String getApprovalTime() {
    	if(approvalTime ==null)
			return null;
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(approvalTime);
		} catch (Exception e) {
			return null;
		}
        //return approvalTime;
    }

    public void setApprovalTime(String approvalTime) {
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			this.approvalTime = sdf.parse(approvalTime);
		} catch (Exception e) {
		}
        //this.approvalTime = approvalTime;
    }

    public String getExcNumber() {
        return excNumber;
    }

    public void setExcNumber(String excNumber) {
        this.excNumber = excNumber;
    }

    public String getTechPerson() {
        return techPerson;
    }

    public void setTechPerson(String techPerson) {
        this.techPerson = techPerson;
    }

    public String getOtherPerson() {
        return otherPerson;
    }

    public void setOtherPerson(String otherPerson) {
        this.otherPerson = otherPerson;
    }

    public String getExcOrgan() {
        return excOrgan;
    }

    public void setExcOrgan(String excOrgan) {
        this.excOrgan = excOrgan;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification;
    }

    public String getExcHost() {
        return excHost;
    }

    public void setExcHost(String excHost) {
        this.excHost = excHost;
    }

    public String getFundingFrom() {
        return fundingFrom;
    }

    public void setFundingFrom(String fundingFrom) {
        this.fundingFrom = fundingFrom;
    }

    public String getExcArea() {
        return excArea;
    }

    public void setExcArea(String excArea) {
        this.excArea = excArea;
    }

    public String getExcBegintime() {
    	if(excBegintime ==null)
			return null;
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(excBegintime);
		} catch (Exception e) {
			return null;
		}
        //return excBegintime;
    }

    public void setExcBegintime(String excBegintime) {
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			this.excBegintime = sdf.parse(excBegintime);
		} catch (Exception e) {
		}
        //this.excBegintime = excBegintime;
    }

    public String getExcEndtime() {
    	if(excEndtime ==null)
			return null;
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(excEndtime);
		} catch (Exception e) {
			return null;
		}
        //return excEndtime;
    }

    public void setExcEndtime(String excEndtime) {
    	try {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			this.excEndtime = sdf.parse(excEndtime);
		} catch (Exception e) {
		}
        //this.excEndtime = excEndtime;
    }

    public String getExcLogs() {
        return excLogs;
    }

    public void setExcLogs(String excLogs) {
        this.excLogs = excLogs;
    }

    public String getExcSource() {
        return excSource;
    }

    public void setExcSource(String excSource) {
        this.excSource = excSource;
    }

    public String getUnearthedOverview() {
        return unearthedOverview;
    }

    public void setUnearthedOverview(String unearthedOverview) {
        this.unearthedOverview = unearthedOverview;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUnearthedTransfer() {
        return unearthedTransfer;
    }

    public void setUnearthedTransfer(String unearthedTransfer) {
        this.unearthedTransfer = unearthedTransfer;
    }

    public String getUnearthedRegister() {
        return unearthedRegister;
    }

    public void setUnearthedRegister(String unearthedRegister) {
        this.unearthedRegister = unearthedRegister;
    }

    public String getExcResult() {
        return excResult;
    }

    public void setExcResult(String excResult) {
        this.excResult = excResult;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public String getProjectReport() {
        return projectReport;
    }

    public void setProjectReport(String projectReport) {
        this.projectReport = projectReport;
    }

    public String getRelateInfo() {
        return relateInfo;
    }

    public void setRelateInfo(String relateInfo) {
        this.relateInfo = relateInfo;
    }

    public String getAccidentDeal() {
        return accidentDeal;
    }

    public void setAccidentDeal(String accidentDeal) {
        this.accidentDeal = accidentDeal;
    }
}